package com.ldp.controller;

import com.ldp.service.LocalItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 北巷_东坡
 * @date 2022/11/3 8:54
 * @computer 10741
 */
@RestController
public class HelloController {
    @Autowired
    LocalItemService localItemService;
    @GetMapping("/hi")
    public String hi(@RequestParam String id){
        return localItemService.hi(id);
    }
}
